package com.itheima.mapper;

import com.itheima.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List<User> findAll();
    List<User> findUsersById(List list);
    List<User> findOneByCondition(User user);
    List<User> findUser(@Param("p1") String username,@Param("p2")int id);
    void updateUserCondition(User user);

}
